package com.car.service;

import com.car.dao.impl.StoreDaoImpl;
import com.car.domain.Car;

import java.util.List;

public class StoreService {
    private final static com.car.dao.StoreDaoImpl.StoreDao storeDao = new StoreDaoImpl();

    /**
     *
     * 展示未销售的汽车  status 0 代表的就是未销售的汽车
     * select* from t_car where
     * @return
     * @throws Exception
     */

    public List<Car> display() throws Exception {
        return storeDao.display();
    }
}
